package com.ms3ds.mineInfo.api.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ms3ds.common.core.annotation.Excel;
import com.ms3ds.common.core.web.domain.BaseEntity;

/**
 * 工作区域对象 area
 * 
 * @author zlw
 * @date 2025-09-17
 */
public class Area extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 矿山id */
    private Long mineId;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String areaName;

    /** 区域长度 */
    @Excel(name = "区域长度")
    private Long areaLength;

    /** 区域顺序 */
    @Excel(name = "区域顺序")
    private Long orderNum;

    /** 估计矿物量 */
    @Excel(name = "估计矿物量")
    private Float mineralQuantity;

    /** 删除标记（0是存在，1是删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setMineId(Long mineId) 
    {
        this.mineId = mineId;
    }

    public Long getMineId() 
    {
        return mineId;
    }

    public void setAreaName(String areaName) 
    {
        this.areaName = areaName;
    }

    public String getAreaName() 
    {
        return areaName;
    }

    public void setAreaLength(Long areaLength) 
    {
        this.areaLength = areaLength;
    }

    public Long getAreaLength() 
    {
        return areaLength;
    }

    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }

    public void setMineralQuantity(Float mineralQuantity)
    {
        this.mineralQuantity = mineralQuantity;
    }

    public Float getMineralQuantity()
    {
        return mineralQuantity;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mineId", getMineId())
            .append("areaName", getAreaName())
            .append("areaLength", getAreaLength())
            .append("orderNum", getOrderNum())
            .append("mineralQuantity", getMineralQuantity())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
